package cn.zbzcode.hrm.mapper;

import cn.zbzcode.hrm.domain.Tenant;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zbz
 * @since 2020-04-20
 */
public interface TenantMapper extends BaseMapper<Tenant> {

    void insertRelationWithMeal(
            @Param("mealId") Long mealId,
            @Param("tenantId") Long tenantId,
            @Param("expireDate") Date expireDate,
            @Param("state") int state);

}
